package com.suishoupai.xmb.dao;

import com.suishoupai.xmb.entity.DeliveryDiscount;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by caojian on 2017/5/18.
 */
public interface CutDeliveryDiscountMapper {
    int deleteByPrimaryKey(@Param("id") long id);

    DeliveryDiscount selectByPrimaryKey(@Param("id") long id);

    List<DeliveryDiscount> selectBySaleId(@Param("saleId") long saleId);
}
